package com.coder520.service;

import com.coder520.pojo.User;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

/**
 * Created by ASUS on 2017/7/4.
 */
public interface IUserService {

    User checkUser(String username,String password) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    void regist(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    List<User> findUserAll(Long roleid);

}
